﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
using ZDSoft.TES.Entity.SystemEntity;

namespace ZDSoft.TES.Entity.FunctionEntity
{
    [ActiveRecord("Score")]
    public class Score : EntityBase<Score>
    {
        /// <summary>
        /// 成绩
        /// </summary>
        [Property]
        public double Point { get; set; }

        [BelongsTo("UserID", Lazy = FetchWhen.OnInvoke)]
        public User User { get; set; }

        [BelongsTo("EvaluateID", Lazy = FetchWhen.OnInvoke)]
        public Evaluate Evaluate { get; set; }
    }
}
